package ai.fabu.dataplatform.service;

import ai.fabu.dataplatform.help.Result;

import javax.validation.constraints.NotBlank;

public interface ApiForUserService {
    Result addUser(@NotBlank String userName, @NotBlank String password);
    Result removeUser(@NotBlank String userName);
    Result<Boolean> verifyUser(@NotBlank String userName, @NotBlank String password);
    Result updateUserPassword(@NotBlank String userName, @NotBlank String oldPassword, @NotBlank String newPassword);
}
